




function localData(info) {
  return new Promise((resolve, reject) => {
    try {
      wx.getStorage({
        key: info,
        success(res) {
          resolve(res.data)
        }
      })
    } catch (error) {
      reject(error)
    }
  })
}
let getStorageData = async function (info) {
  let userInfo = await localData(info)
  return userInfo
}



module.exports = {
  getStorageData
}